﻿using System;
using ThingyCloudWPF.Network.Messages;

namespace ThingyCloudWPF.Events
{
	/// <summary>
	/// A class that contains the message that was queued
	/// </summary>
	public class MessageQueuedArgs : EventArgs
	{
		/// <summary>
		/// The message that was queued
		/// </summary>
		public Message Message
		{
			get;
			private set;
		}

		/// <summary>
		/// Create a new event
		/// </summary>
		public MessageQueuedArgs(Message message)
		{
			Message = message;
		}
	}
}